const mongoose = require('mongoose');

const typeSchema = new mongoose.Schema({
  typeName: { type: String, required: true, unique: true },
  bindAccountNum: { type: Number, default: 0 },
  timestamp: { type: Date, default: Date.now },
});

module.exports = mongoose.model('Type', typeSchema);
